const express = require('express')
const router = express.Router()
router.get('/:id', (req, res, next) => {
  try {
    res.status(200).json({
      code: 200,
      ...req.params
    })
  } catch(err) {
    next(err)
  }
})
module.exports = router